package com.dy.design_pattern_study.factory_method.dome2.method.impl;

import com.dy.design_pattern_study.factory_method.dome2.LeiFeng;
import com.dy.design_pattern_study.factory_method.dome2.Volunteer;
import com.dy.design_pattern_study.factory_method.dome2.method.IFactory;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-03-22
 * @Content 社区志愿者工厂 -雷锋工厂方法下的工厂
 */
public class VolunteerFactory implements IFactory {
    public LeiFeng CreateLeiFeng() {
        return new Volunteer();
    }
}
